package cn.fintecher.gis.model.response;

import cn.fintecher.gis.enums.CommonShow;
import cn.fintecher.gis.enums.PatrolType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class PatrolInfoResponse {
    @ApiModelProperty(value = "主键ID")
    private String id;

    @ApiModelProperty(notes = "任务名称")
    private String name;

    @ApiModelProperty(notes = "巡查类型")
    private PatrolType type;

    @ApiModelProperty(notes = "创建时间")
    private Date createTime;

    @ApiModelProperty(notes = "是否含有巡查结果")
    private CommonShow show;

    @ApiModelProperty(notes = "巡查人id")
    private String userId;

    @ApiModelProperty(notes = "巡查人姓名")
    private String userName;
}
